package cn.xiaopengstack.domain.pay.model.entity;

import cn.xiaopengstack.domain.order.model.valobj.PayOrderStatusEnumVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author jiangyangang
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class PayResultEntity {
    /**
     * 订单状态
     */
    private PayOrderStatusEnumVO orderStatusEnumVO;

    /**
     * 内部订单号
     */
    private String orderId;

    /**
     * 支付渠道订单号
     */
    private String payChannelOrderId;

    /**
     * 支付渠道
     */
    private String payChannel;

    /**
     * 支付时间
     */
    private Date payTime;

    /**
     * 用户ID
     */
    private String userId;
}
